﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ChangePassword.aspx.cs" Inherits="GroundWater.Admin.ChangePassword" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <script language="javascript" src="../js/common.js" type="text/javascript"></script>
    <link media="all" href="../js/resources/_Common/Common.css" type=text/css rel=stylesheet />
<link media="all" href="../js/resources/_Loadding/Loadding.css" type=text/css rel=stylesheet />
<link media="all" href="../js/resources/_Panel/Panel.css" type=text/css rel=stylesheet />
<link media="all" href="../js/resources/_Button/Button.css" type=text/css rel=stylesheet />
<link media="all" href="../js/resources/_TextBox/TextBox.css" type=text/css rel=stylesheet />
</head>
<body>
    <form id="form1" runat="server">
    <div style=" padding:160px;">
    <!-- 面板内容 -->                
<div id="bodyPanel">
<div class="x-pne" id="panel" style="Z-INDEX: 9999; WIDTH: 260px;">
    <div class="corner-bg x-pne-lt x-pne-left" unselectable="on">
    <div class="corner-bg x-pne-rt x-pne-right">
    <div class="corner-bg x-pne-t">

    <div class="x-pne-caption font">修改密码</div>
    </div>
    </div>
    </div>
    
    <div>
    <div class="side-bg x-pne-l">
    <div class="side-bg x-pne-r">
    <div class="x-pne-c" style="WIDTH: 248px; HEIGHT: 124px">
    <div id="contentPanel"><!-- 控件实例 -->

    <div class=gbPanel>
        <table class=font>
        <tbody>
        <tr>
            <td>原来密码:</td><td><asp:TextBox cssclass="textField text-bg border-blur" id="txtOld" TextMode="Password" runat="server"  maxlength="16" /><span class="warning">*</span></td></tr>
        <tr>
            <td>新密码:</td><td><asp:TextBox cssclass="textField text-bg border-blur" id="txtNew" TextMode="Password" runat="server"   maxlength="16" /><span class="warning">*</span></td>
        </tr>
        </tbody>
        </table>
    </div>

    <div class="gbPanel" style="margin-top:20px">
    <table class="method-area1">
    <tbody>
    <tr>
    <td style="padding-left:30px;">
        <div>
            <div class="btn-side btn-bg" style="background-position: 0% 0%"></div>
            <div class="btn-body btn-bg" style="background-position: 0px 168px; WIDTH: 60px"><asp:Button id="btnLogIn" Text="保  存" CssClass="font" runat="server" OnClientClick="return validate();" onclick="btnLogIn_Click" /></div>
            <div class="btn-side btn-bg" style="background-position: 0px 189px"></div>
        </div>
    </td>
    <td style="padding-left:30px;">
        <div>
            <div class="btn-side btn-bg" style="background-position: 0% 0%"></div>
            <div class="btn-body btn-bg" style="background-position: 0px 168px; WIDTH: 60px"><input class="font" type="reset" value="清   除" /></div>
            <div class="btn-side btn-bg" style="background-position: 0px 189px"></div>
        </div>
    </td>
    </tr>

    </tbody>
    </table>
    </div>


    </div>
    </div>
    </div>
    </div>
    <div class="corner-bg x-pne-lb x-pne-left">
        <div class="corner-bg x-pne-rb x-pne-right">
            <div class="corner-bg x-pne-b"></div>
        </div>
    </div>
    </div>
</div>
</div>
<!-- 面板内容结束 -->
    </div>
    
    <asp:Literal ID="lblJavaScript" EnableViewState="false" runat="server"></asp:Literal>
    </form>
    
<script type="text/javascript">
//<![CDATA[
        function validate() {
            var message = "";
            if (!notEmpty(document.getElementById("txtOld"))) {
                message += "原来密码不能为空。\n";
            }
            if (!notEmpty(document.getElementById("txtNew"))) {
                message += "新密码不能为空。\n";
            }

            if (message.length > 0) {
                alert(message);
                return false;
            }
            return true;
        }
//]]>
</script>
</body>
</html>
